<template>
	<view class="content">
		<view class="tBanner">
			<view class="tBanner-item">
				区域
			</view>
			<view class="tBanner-item">风格</view>
			<view class="tBanner-item">户型</view>
		</view>
		<view class="building-list">
			<view class="building-list-item" v-for="(item,index) in Data" :key="index">
				<image class="building-item-image" mode="aspectFit" src="../../static/images/index/baner3.png">
				</image>
				<view class="building-item-box">
					<view class="building-item-title">{{item.title}}</view>
					<view class="building-item-text">{{item.text}}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				Data: [{
						title: "天和尚上海",
						text: "150m²/北欧风"
					},
					{
						title: "静安新城",
						text: "123m²/地中海"
					},
					{
						title: "天和尚上海",
						text: "150m²/北欧风"
					},
					{
						title: "静安新城",
						text: "123m²/地中海"
					},
					{
						title: "天和尚上海",
						text: "150m²/北欧风"
					},
					{
						title: "静安新城",
						text: "123m²/地中海"
					},
					{
						title: "天和尚上海",
						text: "150m²/北欧风"
					},
					{
						title: "静安新城",
						text: "123m²/地中海"
					}
				]
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style>
	.content {
		width: 100%;
		height: 100vh;
		box-sizing: border-box;
	}

	.tBanner {
		width: 375px;
		height: 49px;
		background: #ffffff;
		box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
		display: flex;
	}

	.tBanner-item {
		width: 28px;
		height: 20px;
		font-size: 14px;
		font-family: PingFang SC, PingFang SC-Bold;
		font-weight: 700;
		color: #666666;
		height: 49px;
		text-align: center;
		line-height: 49px;
		flex: 1 20px;
		box-sizing: border-box;
	}


	.building-list {
		width: 357px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.building-list-item{
		width: 162px;
		height: 147px;
		margin: 4px 4px 4px 4px;
		box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.2);
	}
	.building-item-image {
		width: 162px;
		height: 98px;
	}
	.building-item-box{
		width: 162px;
		height: 49px;
	}
	.building-item-title{
		width: 67px;
		height: 17px;
		font-size: 12px;
		font-family: PingFang SC, PingFang SC-Bold;
		font-weight: 700;
		text-align: CENTER;
		padding-left: 5px;
		padding-top: 5px;
		color: #333333;
		line-height: 12px;
	}
	.building-item-text{
		padding-left: 1px;
		padding-top: 5px;
		width: 97px;
		height: 14px;
		font-size: 10px;
		font-family: PingFang SC, PingFang SC-Medium;
		font-weight: 500;
		text-align: CENTER;
		color: #666666;
		line-height: 10px;
	}
	
</style>
